﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SocialPhotos.Models.SqlExpressRepository
{
    public class SqlExCategoryRepository : ICategoryRepository
    {
        /// <summary>
        /// SQL Server Express Context
        /// </summary>
        private readonly EfDbContext _dbContext = new EfDbContext();

        /// <summary>
        /// Gets the categories.
        /// </summary>
        public IQueryable<Entities.Category> Categories
        {
            get { return this._dbContext.Categories; }
        }
    }
}
